﻿using System;
using System.Windows.Forms;

namespace Voize
{
	internal partial class fMessagebox : Form
	{
		internal fMessagebox(string title,string infotext)
		{
			InitializeComponent();
			this.Text = title;
			this.lInfo.Text = infotext;
		}

		private void bOK_Click(object sender, EventArgs e)
		{
			this.DialogResult = DialogResult.OK;
			this.Close();
		}

		private void bCancel_Click(object sender, EventArgs e)
		{
			this.DialogResult = DialogResult.Cancel;
			this.Close();
		}
	}
}
